package com.hmall.model;

import lombok.Data;

import java.math.BigDecimal;
import javax.persistence.*;

@Data
@Table(name = "mall_product_stock")
public class MallProductStock {
    @Id
    private Integer id;

    /**
     * 库存组织
     */
    @Column(name = "inventory_organization")
    private String inventoryOrganization;

    /**
     * 物料编码
     */
    @Column(name = "material_code")
    private String materialCode;

    /**
     * 物料名称
     */
    @Column(name = "material_name")
    private String materialName;

    /**
     * 规格
     */
    private String specifications;

    /**
     * 型号
     */
    private String model;

    /**
     * 等级定重
     */
    private String grade;

    /**
     * 单位
     */
    private String unit;

    /**
     * 结存量
     */
    private String stock;

    /**
     * 预留主数量
     */
    @Column(name = "stock_reserved")
    private String stockReserved;

    /**
     * 冻结主数量
     */
    @Column(name = "stock_freeze")
    private String stockFreeze;

    /**
     * 供应商物权结存主数量
     */
    @Column(name = "stock_supplier")
    private String stockSupplier;


}